package com.rakuten.api.mule;

/**
 * CommonFlowConstants for MuleMessage and HTTP headers
 * 
 * @author saito_shinya@ogis-ri.co.jp
 */
public class CommonFlowConstants {

	// for AuthAPI
	public static final String LICENSE_KEY = "licenseKey";
	public static final String SERVICE_SECRET = "serviceSecret";
	public static final String EXTERNAL_ENDPOINT = "externalEndpoint";
	public static final String OPERATION_KEY = "operationKey";
	public static final String REQUEST_ID = "requestId";
	public static final String NEED_CALL_FUNCTION = "needCallFunction";

	// for Common Flow
	public static final String CURRENT_FLOW_OBJECT = "currentFlowObject";
	public static final String ORIGINAL_PAYLOAD = "originalPayload";
	public static final String ORIGINAL_RESPONSE = "originalResponse";

	// for Get Product API Flow
	public static final String MERCHANT_ID = "merchantId";
	public static final String BASE_SKU = "baseSku";

	// for HTTP Response
	public static final String HTTP_RESPONSE_STATUS = "httpResponseStatus";
	public static final String HTTP_CONTENT_TYPE = "httpContentType";

	// for Error Message
	public static final String ERROR_LEVEL = "level";
	public static final String ERROR_TYPE = "errorType";
	public static final String ERROR_CODE = "errorCode";
	public static final String ERROR_MESSAGE = "errorMessage";
	public static final String ERROR_STATUS = "status";
	public static final String ERROR_STATUS_MESSAGE = "statusMsg";
	public static final String ERROR_HTTP_CODE = "httpCode";
	public static final String ERROR_FAULT_CODE = "faultCode";
}
